package com.tliaswebmanagement.aop;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.*;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Aspect
@Component
@Slf4j
@Order(1)
public class Aspect2 {
    @Before("@annotation(com.tliaswebmanagement.aop.Log)")
    public void before() {
        log.info("前置通知 前置");
    }

}
